home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Emulators / v2600 / Source.lha / Source / mnemonic.h < prev    next >
C/C++ Source or Header  |  1997-04-24  |  3KB  |  142 lines

  1. /*****************************************************************************
  2.  
  3.    This file is part of x2600, the Atari 2600 Emulator
  4.    ===================================================
  5.    
  6.    Copyright 1996 Alex Hornby. For contributions see the file CREDITS.
  7.  
  8.    This software is distributed under the terms of the GNU General Public
  9.    License. This is free software with ABSOLUTELY NO WARRANTY.
  10.    
  11.    See the file COPYING for details.
  12.    
  13.    $Id: mnemonic.h,v 1.2 1996/04/01 14:51:50 alex Exp $
  14. ******************************************************************************/
  15.  
  16. /*
  17.  *
  18.  * This file was part of x64.
  19.  * See README for copyright notice
  20.  *
  21.  * This file contains #defines for MOS6010 instruction mnemonics.
  22.  *
  23.  * Written by
  24.  *   Vesa-Matti Puro (vmp@lut.fi)
  25.  *   Jouko Valta (jopi@stekt.oulu.fi)
  26.  */
  27.  
  28. #ifndef X2600_MNEMONIC_H
  29. #define X2600_MNEMONIC_H
  30.  
  31.  
  32. /* INSTRUCTION MNEMONICS. */
  33.  
  34. #define ADC    "ADC"
  35. #define AND    "AND"
  36. #define ASL    "ASL"
  37. #define BCC    "BCC"
  38. #define BCS    "BCS"
  39. #define BEQ    "BEQ"
  40. #define BIT    "BIT"
  41. #define BMI    "BMI"
  42. #define BNE    "BNE"
  43. #define BPL    "BPL"
  44. #define BRK    "BRK"
  45. #define BVC    "BVC"
  46. #define BVS    "BVS"
  47. #define CLC    "CLC"
  48. #define CLD    "CLD"
  49. #define CLI    "CLI"
  50. #define CLV    "CLV"
  51. #define CMP    "CMP"
  52. #define CPX    "CPX"
  53. #define CPY    "CPY"
  54. #define DEC    "DEC"
  55. #define DEX    "DEX"
  56. #define DEY    "DEY"
  57. #define EOR    "EOR"
  58. #define INC    "INC"
  59. #define INX    "INX"
  60. #define INY    "INY"
  61. #define JMP    "JMP"
  62. #define JSR    "JSR"
  63. #define LDA    "LDA"
  64. #define LDX    "LDX"
  65. #define LDY    "LDY"
  66. #define LSR    "LSR"
  67. #define NOOP    "NOOP"
  68. #define NOP    "NOP"
  69. #define ORA    "ORA"
  70. #define PHA    "PHA"
  71. #define PHP    "PHP"
  72. #define PLA    "PLA"
  73. #define PLP    "PLP"
  74. #define ROL    "ROL"
  75. #define ROR    "ROR"
  76. #define RTI    "RTI"
  77. #define RTS    "RTS"
  78. #define SBC    "SBC"
  79. #define SEC    "SEC"
  80. #define SED    "SED"
  81. #define SEI    "SEI"
  82. #define STA    "STA"
  83. #define STX    "STX"
  84. #define STY    "STY"
  85. #define TAX    "TAX"
  86. #define TAY    "TAY"
  87. #define TSX    "TSX"
  88. #define TXA    "TXA"
  89. #define TXS    "TXS"
  90. #define TYA    "TYA"
  91.  
  92. #ifndef NO_UNDOC_CMDS
  93. #define ANC    "ANC"
  94. #define ANE    "ANE"
  95. #define ARR    "ARR"
  96. #define ASR    "ASR"
  97. #define DCP    "DCP"
  98. #define ISB    "ISB"
  99. #define JAM    "JAM"
  100. #define LAS    "LAS"
  101. #define LAX    "LAX"
  102. #define LXA    "LXA"
  103.  /* NOOP undefined NOP */
  104. #define RLA    "RLA"
  105. #define RRA    "RRA"
  106. #define SAX    "SAX"
  107. #define USBC    "USBC"    /* undefined SBC */
  108. #define SBX    "SBX"
  109. #define SHA    "SHA"
  110. #define SHS    "SHS"
  111. #define SHX    "SHX"
  112. #define SHY    "SHY"
  113. #define SLO    "SLO"
  114. #define SRE    "SRE"
  115.  
  116. #else
  117. #define ANC    NOOP
  118. #define ANE    NOOP
  119. #define ARR    NOOP
  120. #define ASR    NOOP
  121. #define DCP    NOOP
  122. #define ISB    NOOP
  123. #define JAM    NOOP
  124. #define LAS    NOOP
  125. #define LAX    NOOP
  126. #define LXA    NOOP
  127.  /* NOOP undefined NOP */
  128. #define RLA    NOOP
  129. #define RRA    NOOP
  130. #define SAX    NOOP
  131. #define USBC    NOOP
  132. #define SBX    NOOP
  133. #define SHA    NOOP
  134. #define SHS    NOOP
  135. #define SHX    NOOP
  136. #define SHY    NOOP
  137. #define SLO    NOOP
  138. #define SRE    NOOP
  139. #endif
  140.  
  141. #endif  /* X2600_MNEMONIC_H */
  142.